package com.atguigu.stgy.admin.mapper;

import com.atguigu.stgy.model.dto.ApartmentSearchDTO;
import com.atguigu.stgy.model.vo.RoomVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.atguigu.stgy.model.entity.RoomInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoomInfoMapper extends BaseMapper<RoomInfo> {
    List<RoomVO> selectRoomVOsByCondition(Page<RoomVO> page, @Param("searchDTO") ApartmentSearchDTO searchDTO);
}